﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MaterialStorage.Model
{
    /// <summary>
    /// 领料人
    /// </summary>
    public class Picker
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        public Picker()
        {
            this.Id = int.MinValue;
        }

        public List<dynamic> GetList(DavidDB.ADO.DBManager db)
        {
            var query = db.GetList(new Picker()).ToList();
            return query;
        }
    }
}
